/*
 * @Author: jiangjinchi 1468922694@qq.com
 * @Date: 2023-11-08 10:01:40
 * @LastEditors: jiangjinchi 1468922694@qq.com
 * @LastEditTime: 2025-10-24 14:11:42
 * @FilePath: \vue-admin-template\public\config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */


var PLATFROM_CONFIG = {};
PLATFROM_CONFIG.url = "http://192.168.0.129:9534/pharmacy-bi-group";
PLATFROM_CONFIG.picurl = "http://192.168.1.127:12345/view/";

// 销售数据
PLATFROM_CONFIG.salesData = {
    "运营指标": [
        {
            name: '销售额',
            sum: '300346',
            danwei: '元',
            huanBi: -92,
            tongBi: 47
        },
        {
            name: '94678',
            sum: '266819',
            danwei: '元',
            huanBi: -91,
            tongBi: 32
        },
        {
            name: '32',
            sum: '35',
            danwei: '%',
            huanBi: 9,
            tongBi: 12
        },
        {
            name: '7300',
            sum: '22199',
            danwei: '人',
            huanBi: -90,
            tongBi: 12
        },
        {
            name: '客单价',
            sum: '41.14',
            danwei: '元',
            huanBi: -16,
            tongBi: 12
        },
        {
            name: '购件数',
            sum: '58',
            danwei: '',
            huanBi: -16,
            tongBi: -16
        },
        {
            name: '客品次',
            sum: '1.49',
            danwei: '',
            huanBi: 3,
            tongBi: 12
        },
        {
            name: '品数量',
            sum: '27.68',
            danwei: '',
            huanBi: -19,
            tongBi: 12
        },
        {
            name: '毛利同比差额',
            sum: '12',
            danwei: '',
            huanBi: 12,
            tongBi: 12
        },
        {
            name: '毛利环比差额',
            sum: '15',
            danwei: '',
            huanBi: 12,
            tongBi: 12
        },
    ],
    "品类增减情况排行TOP10": [],
    "股东单位销售基本面分析": [],
    "股东单位品类增减情况排行TOP10(毛利率增减值)标题": [],
    "股东单位品类增减情况排行TOP10(毛利率增减值)": []
}

// 目标跟盯
PLATFROM_CONFIG.targetTracking = {
    "目标跟盯-各股东单位达成情况": [],
    "数据总览": [
        {
            value1: 1,
            value2: 94677.58,
            value3: 8607.06,
            value4: 100,
            type: true, // 正负
        },

    ],
    "数据总览-销售额": {
        value: '300345.68',
        type: true,
        huanbi: '1.7',
        wanchenglv: 86,
        wanchenglv2: 14,
        wanchenglvValue: 300345
    },
    "数据总览-毛利率": {
        value: '94677.58',
        type: true,
        huanbi: '1.92',
        wanchenglv: 79,
        wanchenglv2: 21,

        wanchenglvValue: 94677
    },
}

// 动销管理
PLATFROM_CONFIG.dynamicSalesManagement = {
    "动销管理": [
        {
            sum: '1885',
            danwei: '元',
        },
        {
            sum: '3133',
            danwei: '元',
        },
        {
            sum: '100',
            danwei: '元',
        },
        {
            sum: '5018',
            danwei: '元',
        },
        {
            sum: '1527',
            danwei: '元',
        },
        {
            sum: '66%',
            danwei: '元',
        },
        {
            sum: '72%',
            danwei: '元',
        },
        {
            sum: '9389',
            danwei: '元',
        },
        {
            sum: '6675',
            danwei: '元',
        },
        {
            sum: '28',
            danwei: '元',
        },
    ],
    "股东单位动销分析": [
        {
            value1: '铁岭安康',
            value2: 666,
            value3: 3027,
            value4: 13,
            value5: 131259.55,
            value6: 435342,

        },
        {
            value1: '丹东百盛',
            value2: 775,
            value3: 3753,
            value4: 63,
            value5: 49363.95,
            value6: 213312,


        }, {
            value1: '心向民',
            value2: 689,
            value3: 6902,
            value4: 51,
            value5: 31347.87,
            value6: 321347,

        },
        {
            value1: '国益堂',
            value2: 445,
            value3: 1500,
            value4: 13,
            value5: 313447,
            value6: 213447,

        },
        {
            value1: '仁泽康桥',
            value2: 398,
            value3: 2521,
            value4: 60,
            value5: 22602,
            value6: 112602,

        },
        {
            value1: '凌源星河',
            value2: 563,
            value3: 3015,
            value4: 32,
            value5: 2632.4,
            value6: 2623,

        },
        {
            value1: '百合',
            value2: 531,
            value3: 1984,
            value4: 20,
            value5: 20900,
            value6: 91200,

        },
        {
            value1: '建昌医药',
            value2: 635,
            value3: 2472,
            value4: 25,
            value5: 22048,
            value6: 242048,

        },
        {
            value1: '心心向民',
            value2: 681,
            value3: 2879,
            value4: 19,
            value5: 31099,
            value6: 510111,

        },
    ],
    "股东单位": [
        {
            value1: '铁岭安康',
            value2: 5464,
            value3: 3027,
            value4: 13213,


        },
        {
            value1: '丹东百盛',
            value2: 8554,
            value3: 1234,
            value4: 63,



        }, {
            value1: '心向民',
            value2: 8778,
            value3: 2342,
            value4: 51,


        },
        {
            value1: '国益堂',
            value2: 754,
            value3: 5623,
            value4: 13,

        },
        {
            value1: '仁泽康桥',
            value2: 677,
            value3: 1234,
            value4: 60,


        },
        {
            value1: '凌源星河',
            value2: 557,
            value3: 5632,
            value4: 32,


        },
        {
            value1: '百合',
            value2: 1231,
            value3: 23534,
            value4: 20,


        },
        {
            value1: '建昌医药',
            value2: 635,
            value3: 2472,
            value4: 25,


        },
        {
            value1: '心心向民',
            value2: 681,
            value3: 2879,
            value4: 19,


        },
    ],
    "集团": [
        {
            value1: '应季增量爆品',
            value2: 10000,
            value3: 8500,
            value4: '85%',
        },
        {
            value1: '年常态战略品',
            value2: 10000,
            value3: 10200,
            value4: '101%',
        },
        {
            value1: '战略厂商任务品',
            value2: 30000,
            value3: 29988,
            value4: '99%',
        },
        {
            value1: '催销商品',
            value2: 20000,
            value3: 18500,
            value4: '95%',
        },
    ],
    "毛利率分析": [
        {
            value1: '高血压药',
            value2: 12,
            value3: 36,
            value4: 11,
            value5: 25,
            value6: 12,
        },
        {
            value1: '心脑中药',
            value2: 71,
            value3: 41,
            value4: 29,
            value5: 22,
            value6: -3,
        },
        {
            value1: '脑血管药',
            value2: 42,
            value3: 48,
            value4: 20,
            value5: 28,
            value6: 6,
        },
        {
            value1: '调血脂药',
            value2: 32,
            value3: 46,
            value4: 40,
            value5: 6,
            value6: 12,
        },
        {
            value1: '抗凝抗板药',
            value2: 31,
            value3: 27,
            value4: 18,
            value5: 9,
            value6: -32,
        },
        {
            value1: '心血管药',
            value2: 176,
            value3: 32,
            value4: 56,
            value5: -24,
            value6: 38,
        },
        {
            value1: '循环改善',
            value2: 64,
            value3: 59,
            value4: 32,
            value5: 27,
            value6: 24,
        },
    ],
    "商品动销类别占比": [
        { name: "高血压药", value: 12, percent: "2.803%" },
        { name: "心脑中药", value: 71, percent: "3.971%" },
        { name: "脑血管药", value: 42, percent: "9.8%" },
        { name: "调血脂药", value: 32, percent: "7.47%" },
        { name: "抗凝抗板药", value: 31, percent: "7.47%" },
        { name: "心血管药", value: 176, percent: "41.1%" },
        { name: "循环改善", value: 64, percent: "14.95%" },
    ]

}

// 库存管理

PLATFROM_CONFIG.inventoryManagement = {
    "会员概况": ['6943876', '6943876', '5018'],
    "周转天数": [['5', '6', '7', '8', '9', '10'], [10, 20, 48, 52, 49, 4, 8]],
    "平均断货率": [['5', '6', '7', '8', '9', '10'], [8, 15, 22, 12, 33, 10]],
    "平均动销率": [['5', '6', '7', '8', '9', '10'], [12, 5, 28, 22, 39, 9]],
    "库存整体情况分析": [6949831, 11, 1122, 5018, 4918, 56, 4518, 51, 1122, 21, 31],
    "效期商品分析": [1129, 1572, 214299, 11],
    "新品动销分析": [1885, 16411, 3195, 54611, 122, 952],
    "集团库存": [
        {
            value1: '铁岭安康',
            value2: 4564557,
            value3: 13,
            value4: 6451,
            value5: 13125,
            value6: 43,
            value7: 6445,
            value8: 42,
            value9: 4353,
            value10: 34,
            value11: 11,


        },
        {
            value1: '丹东百盛',
            value2: 82465,
            value3: 63,
            value4: 6434,
            value5: 213125,
            value6: 84,
            value7: 9468,
            value8: 18,
            value9: 884,
            value10: 82,
            value11: 84,


        }, {
            value1: '心向民',
            value2: 664444,
            value3: 99,
            value4: 3541,
            value5: 9751,
            value6: 66,
            value7: 3416,
            value8: 22,
            value9: 941,
            value10: 55,
            value11: 36,

        },
        {
            value1: '国益堂',
            value2: 9511,
            value3: 34,
            value4: 8432,
            value5: 6155,
            value6: 25,
            value7: 6484,
            value8: 61,
            value9: 3112,
            value10: 11,
            value11: 94,

        },
        {
            value1: '仁泽康桥',
            value2: 5555,
            value3: 12,
            value4: 4562,
            value5: 5674,
            value6: 44,
            value7: 4543,
            value8: 55,
            value9: 463,
            value10: 33,
            value11: 43,

        },
        {
            value1: '凌源星河',
            value2: 2224,
            value3: 22,
            value4: 4443,
            value5: 3643,
            value6: 65,
            value7: 3523,
            value8: 22,
            value9: 4535,
            value10: 75,
            value11: 86,

        },
        {
            value1: '百合',
            value2: 13214,
            value3: 26,
            value4: 4653,
            value5: 242,
            value6: 24,
            value7: 6853,
            value8: 33,
            value9: 3572,
            value10: 22,
            value11: 56,

        },
        {
            value1: '建昌医药',
            value2: 67864,
            value3: 33,
            value4: 3522,
            value5: 24,
            value6: 22,
            value7: 25,
            value8: 88,
            value9: 9767,
            value10: 77,
            value11: 97,

        },
        {
            value1: '心心向民',
            value2: 44457,
            value3: 76,
            value4: 7767,
            value5: 76,
            value6: 77,
            value7: 67,
            value8: 73,
            value9: 7975,
            value10: 66,
            value11: 23,

        },
    ]
}

// 会员分析

PLATFROM_CONFIG.memberAnalysis = {
    "会员概况": [85, 79, 72, 12.36],
    "老会员管理": [11782, 16555, 36612, 24194, 22823],
    "活跃会员数": [['5月', '6月', '7月', '8月', '9月', '10月'], [42800, 32877, 25727, 55276, 33004, 46564]],
    "消费人群分布": [['0-10', '10-20', '20-30', '30-40', '40-50', '50-60', '60-70', '70及以上'], [1566, 2455, 2227, 1257, 3245, 1025, 263, 3555, 1044, 1247], [8630, 1577, 2762, 1287, 3387, 1770, 2586, 3554, 1780, 1752], [887, 1575, 2782, 1452, 3783, 1770, 2876, 3785, 1440, 1787],],
    "新会员发展": [['5月', '6月', '7月', '8月', '9月', '10月'], [800, 1500, 2200, 1200, 3300, 1000], [555, 1583, 2532, 1268, 3386, 1880,]],
    "老会员覆购": [['5月', '6月', '7月', '8月', '9月', '10月'], [84554, 55545, 28572, 78712, 68833, 58770, 27756, 37875, 17770, 87812], [87785, 14515, 13422, 14542, 33445, 10444, 24546, 34875, 14450, 14452], [64744, 16445, 28642, 14542, 64433, 46410, 46426, 35455, 44410, 15442],],
    "确认慢病会员": [
        {
            value1: '良好',
            value2: 26464,
            value3: 4761,
            value4: 5613,
            value5: 3454,
        },
        {
            value1: '较差',
            value2: 17464,
            value3: 5761,
            value4: 1127,
            value5: 2445,
        },
    ],

}